package com.xx.jfb.tomcat;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ThreadPoolTaskConfig {

    private ExecutorService poolExecutor;

    ThreadPoolTaskConfig(int pool){
        poolExecutor = Executors.newFixedThreadPool(pool);
    }

    public ExecutorService getExecutor(){
        return poolExecutor;
    }

}
